package com.daodao.daodaoschedule.infrastructure.dao.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author mal
 * @date 2023-02-15 16:02
 */
@Data
@TableName("remind_event")
public class RemindEventPO {

    private Long id;

    private LocalDate eventDate;

    private String eventDesc;

    private LocalDate startDate;

    private LocalDate endDate;

    private String remarks;


    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private String state;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
